#pragma once
class CCriSec
{
public:
	CCriSec(void);
	~CCriSec(void);

	void lock();
	void unlock();

private:
	CRITICAL_SECTION CriticalSection;
};

